/**
 *
 */
package co.fitstart.payment.service;

import java.util.List;

import co.fitstart.payment.entity.request.RequestRecord;

/**
 * @author lute
 *
 */
public interface RequestRecordService {

    /**
     * Create a new request record
     * 
     * @param requestRecord
     */
    public void create(RequestRecord requestRecord);

    /**
     * Get request record according to request number
     * 
     * @param requestNo
     * @return
     */
    public RequestRecord getRequestRecord(String requestNo);

    /**
     * Get all request records whose order number is the specified order number
     * and ordered by request time descending.
     * 
     * @param orderNo
     * @return
     */
    public List<RequestRecord> getRequestRecordsOrderedByDescendingTime(String orderNo);

}
